package java56_6;

import java.util.Scanner;

public class GetMin {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] ar = new int[60];
		for (int i = 0; i < ar.length; i++) {
			System.out.println("input a number:");
			ar[i] = sc.nextInt();
		}
		int min = ar[0];
		for (int i = 1; i < ar.length; i++) {
			if (min > ar[i])
				min = ar[i];
		}
		System.out.println("min:" + min);
	}

}
